﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonClasses
{
    public abstract class Hand
    {
        private List<Card> cardsOnHand = new List<Card>();

        public List<Card> CardsOnHand
        {
            get { return cardsOnHand; }
            set { cardsOnHand = value; }
        }

        private int total;
        public virtual int Total
        {
            get { return total; }
            set { total = value; }
        }

        private int maxCards;
        public virtual int MaxCards
        {
            get { return maxCards; }
            set { maxCards = value; }
        }

        public abstract void calculate_total();   
    }

}